package com.aizhixin.test.my.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@ApiModel(description="个人排名")
@NoArgsConstructor
@ToString
public class GeRenPaiMinDTO {
/*
 * SELECT  b.mac AS score_rank,b.user_id FROM(SELECT t.*,@mac :=@mac + 1 AS mac	FROM	(SELECT @mac := 0) r,	answer_points_president_accounts AS t	ORDER BY	t.NOW_POINTS DESC) 	AS b WHERE b.user_id = 2;

 */
	@ApiModelProperty(value="用户Id")
	@Getter@Setter private Long userId;
	
	@ApiModelProperty("用户排名")
	@Getter@Setter private Long userRank;
}
